//
//  BaseViewController.h
//  HuLaQuan
//
//  Created by hok on 1/7/16.
//  Copyright © 2016 Jianghao. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "YuNetworkStatusUtilities.h"

#import "UIView+Toast.h"

#import <KVNProgress/KVNProgress.h>

#import "UIAlertController+CustomAlert.h"

@interface BaseViewController : UIViewController

- (void)initData;

- (void)setupUI;

- (void)setupNavBackButton;

- (void)goBackAction;

- (void)setupTapGesture;

//键盘弹出
- (void)keyboardShow:(NSNotification *)notification;

-(void)text;

- (void)createNavigationBarRightBarButtonItemWithTitle:(NSString *)title;

- (void)rightAction;

- (void)showNetWorkError:(id)error;

- (NSString *) cardType:(NSString *)typeString;
@end
